|
|
|
|
|
To use TEXT (OCR) dynamically perform the following:
Step 1: Set the Zone to "TEXT".
Step 2: Insert the text value of the element.
You can use regular expression with Java syntax.
In the element parameter use the following: "regexp:<expression> "
We will use the GetElementCount command and the regular expression * (which means any character), to count the number of Expense : <NUM> texts visible on the screen.
The command to use:
The result of the command will be 3.